import {h, render} from 'vue';
import AppToast from './appToast.vue';
import type {AppToastOptions} from './interface'
export class $AppToast{
    options: AppToastOptions;
    container: HTMLElement;
    constructor(theOptions: AppToastOptions){
        this.options = theOptions;
        this.container = document.createElement('div');
    }
    show(){
        const toast = h(h(AppToast),this.options);
        render(toast,this.container)
    }
    hide(){

    }
}
